<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<TITLE>Untitled Page</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<link href="../css/public.css" rel="stylesheet"	style="text/css">
		<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
		<SCRIPT type=text/javascript>
//<![CDATA[
function doPostBack() {
        document.product.submit();
}
//]]>
</SCRIPT>
	</HEAD>
	<BODY style="BACKGROUND-POSITION-Y: -120px;
	 BACKGROUND-IMAGE: url(../images/background.gif);
	  BACKGROUND-REPEAT: repeat-x">
		<DIV>
			<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%"
				border=0>
				<TBODY>
					<TR
						style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
						height=47>
						<TD width=10>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
						</TD>
						<TD>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">


							</SPAN>
							<SPAN
								style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: ">
								添加商品 </SPAN>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
						</TD>
						<TD
							style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)"
							width=10></TD>
					</TR>
					<TR>
						<TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">&nbsp;
							
						</TD>
						<TD
							style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white"
							vAlign=top align="center">
							<DIV>
								<TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1
									style="WIDTH: 50%; BORDER-COLLAPSE: collapse" cellSpacing=0
									rules=all border=1 align="left">
									<BODY>
										<form action="commodity_updateCommodity.action" method="post"
											name="product">
											<TR>
												<TH class=gridViewHeader scope=col>
													商品编号
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.sn" value="<s:property value="mcommodity.sn"/>" />
												</td>
											</TR>
											<TR>
												<TH class=gridViewHeader scope=col>
													商品名称
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.name" value="<s:property value="mcommodity.name"/>"/>
												</td>
											</TR>
											<TR>
												<TH class=gridViewHeader scope=col>
													规格型号
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.specifications" value="<s:property value='mcommodity.specifications'/>"/>
												</td>
											</TR>
											<TR>
												<TH class=gridViewHeader scope=col>
													商品单位
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.company" value="<s:property value='mcommodity.company'/>"/>
												</td>
											</TR>
											<TR>
												<TH class=gridViewHeader scope=col>
													最低采购价格(元)
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.purchaseprice" value="<s:property value='mcommodity.purchaseprice'/>"/>
												</td>
											</TR>
											<TR>
												<TH class=gridViewHeader scope=col>
													最高销售价格(元)
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.supplyprice" value="<s:property value='mcommodity.supplyprice'/>"/>
												</td>
											</TR>

											<TR>
												<TH class=gridViewHeader scope=col>
													生产厂家
												</TH>
												<td class=gridViewItem>
													<input type="text" name="mcommodity.factory" value="<s:property value='mcommodity.factory'/>"/>
												</td>
											</TR>


											<TR>
												<TH class=gridViewHeader scope=col>
													商品描述
												</TH>
												<td class=gridViewItem>
													<input  type="text" name="mcommodity.description" value="<s:property value='mcommodity.description'/>"/>
												</td>
											</TR>
											<TR>
												<TH class=gridviewHeader scope=col>
													操作
												</TH>
												<TD class=gridViewItem>
													<A class=cmdField onClick="javascript:doPostBack()">修改</A>
												</TD>
											</TR>
										</form>
									</BODY>
								</TABLE>
							</DIV>
						</TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
					</TR>
					<TR
						style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
						height=10>
						<TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rf.gif)"></TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<SCRIPT type=text/javascript>
	//         
	Sys.Application.initialize();
	//
</SCRIPT>
	</BODY>
</HTML>
